{template "../Public/header"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Home/tao.css" />
{template "../Public/nav"}
<div class="tao-wrap">
<div class="lt">
<div class="tao-filters">
<dl>
<FORM id="filterForm"  method="get" action=""> 
<dd> 关键词：</dd><dd><INPUT name="q" type="text"></dd><dd><BUTTON id="resetQuery" type="submit">搜索</BUTTON></dd>
</FORM>
</dl>
<ul><li>
<a href="{echo reUrl('Tao/shops?cid=0&p=1')}"  title="全部" {if $cid==0}class="on"{/if}>全部</a>
<!--{loop $categorys $item}-->
<a href="{echo reUrl('Tao/shops?cid='.$item[id].'&p=1')}"  title="{$item.name}" {if $cid==$item['id']}class="on"{/if}>{$item.name}</a>
<!--{/loop}-->
</li>
</ul>
</div>

<div  class="tao-listItem">
<!--{loop $shops $item}-->
<dl>
<dt><A class="lazy-img-loader" href="{echo reUrl('Tao/shop?id='.$item[id])}" target="_blank"><IMG src="{echo tao_shop_logo($item['pic_path'])}"  alt="{$item.title}优惠券" ></A></dt>
<dd>
<h2><a href="{echo reUrl('Tao/shop?id='.$item[id])}" title="{$item.title}优惠券" target="_blank">{$item.title}<!--{if $item['type']=='B'}--><span class="tmall-icon"></span><!--{/if}--></a></h2><h4>掌柜：<a href="{echo reUrl('Tao/shop?id='.$item[id])}" target="_blank">{$item.nick}</a>信誉: <span class="credit credit_{$item.level}"></span></h4>
<p>{$item.desc}</p>
<div class="coupons">
<!--{loop $item['coupons'] $item2}-->
<a class="coupon" href="{echo reUrl('Tao/show?id='.$item2[c_id])}"  title="{if $item2['title']}{$item2.title}{else}{$item.title}{if $item2['c_type']==1}满{$item2.money_max}减{$item2.money_reduce}元优惠券{else}{$item2.money_amount}元代金券{/if}{/if}" target="_blank">
{if $item2['title']}{$item2.title}{else}{if $item2['c_type']==1}满<span class="condition">{$item2.money_max}</span>减<span class="denominations">{$item2.money_reduce}</span>元优惠券{else}<span class="denominations">{$item2.money_amount}</span>元代金券{/if}{/if}</a>
<!--{/loop}-->
</div>
</dd>
</dl>
<!--{/loop}-->
<ul class="pager">{$pagelink}</ul>
</div>
</div>
<div class="ri">
<div class="shopAllCoupons">
<ul>
<!--{eval $coupons=tao_coupon_recs(2);}-->
<!--{loop $coupons $c}-->
<li><a href="{echo reUrl('Tao/show?id='.$c[c_id])}"  title="{if $c['title']}{$c.title}{else}{$c.s_title}{if $c['c_type']==1}满{$c.money_max}减{$c.money_reduce}元优惠券{else}{$c.money_amount}元代金券{/if}{/if}">
<span>
{if $c['title']}{$c.title}{else}{if $c['c_type']==1}满<span class="condition"><EM class="r-num">{$c.money_max}</EM></span>减<span class="condition"><EM class="r-num">{$c.money_reduce}</EM></span>元优惠券{else}<span class="condition"><EM class="r-num">{$c.money_amount}</EM></span>元代金券{/if}{/if}
<span>
  <h4><span class="b-num" >{$c.s_title}</span>信誉:<span class="credit credit_{$c.level}"></span></h4>
  </span>  
  </span>
  
  <span class="btn-holder">
  <!--{if $c['expiry_type']==1 && $c['expiry']<=$nowtime}-->
  <span class="btn1">已过期</span>
  <!--{else}-->
  <span class="btn">去领取</span>
  <!--{/if}-->
  </span><span class="cutter"></span></a>
</li>
<!--{/loop}-->
</ul>
</div>

<div class="tao-css1">
<dl><dt>最新淘宝优惠券</dt></dl>
<ul>
<!--{eval $coupons=tao_coupons_latest(10);}-->
<!--{loop $coupons $coupon}-->
<li><a href="{echo reUrl('Tao/show?id='.$coupon[c_id])}"  title="{$coupon.s_title}优惠券 满{$coupon.money_max}减{$coupon.money_reduce}">{if $coupon['title']}{$coupon['title']}{else}{$coupon.s_title}优惠券 满{$coupon.money_max}减{$coupon.money_reduce}{/if}</a></li>
<!--{/loop}-->
</ul>
</div>

</div>
</div>
{template "../Public/footer"}